package simplyrugby.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import simplyrugby.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author admin
* @description 针对表【role(角色)】的数据库操作Service
* @createDate 2025-03-29 18:35:16
*/
public interface RoleService extends IService<Role> {

    Page<Role> list(Integer pageNum, Integer pageSize, Role role);

    Role details(String id);

    boolean addRole(Role role);

    boolean updateRole(Role role);
}
